package lab02.test04;
import java.util.Scanner;
public class Test04 {
    public static void main(String[] args) {
        Staff staff = new Staff();
        staff.setStName("张三");
        staff.setStNo("88888888");
        staff.setStSalary(2000);
        float stSalarySum = 0;
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入员工的工作时间：");
        int stWorkTime = sc.nextInt();
        System.out.println("请输入员工工作单位时间内的工资：");
        float stWorkTimeSalary = sc.nextFloat();
        staff.stName();
        staff.stNo();
        staff.stSalary();
        staff.stSalaryGrowth(stWorkTimeSalary,stWorkTime);
        staff.stSalarySum(stSalarySum);
    }
}
